package com.mathlearning.auth.dto.problem;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProgressResponse {
    private Integer solved;
    private Integer total;
    private BigDecimal percentage;
    private List<CourseProgress> courses;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class CourseProgress {
        private Long courseId;
        private String courseName;
        private Integer solved;
        private Integer total;
    }
}








